import { Routes, RouterModule }  from '@angular/router';
import {RepairComponent} from "./repair.component";

const routes:Routes = [
  {
    path: '',
    component: RepairComponent,
    children:[
      { path: 'order',  loadChildren: './order/order.module#OrderModule' },
      { path: 'record',  loadChildren: './record/record.module#RecordModule' },
    ]
  }
];

export const RepairRoute = RouterModule.forChild(routes);
